//
//  ImageUIButton.h
//  ImageButton
//
//  Created by Handymood on 11-5-20.
//  Copyright 2011 __Hanydmood__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ImageUIButton : UIButton 
{
    UIImage *imageNormal;
    UIImage *imageDown;
    
    int button_id;
}

-(void) addButtonWithImageLink:(NSString *) normalStatusImgLink 
                    downStatusImgLink:(NSString *) downStatusImgLink;

-(void)addButtonFace:(NSString *)normalPrefix 
                                    normalImgSuffix:(NSString *) normalSuffix 
                                    downImgPrefix: (NSString*) downPrefix  
                                    downImgSuffix:(NSString*) downSuffix;

-(void)setXY:(CGFloat) inx 
                     offy:(CGFloat) iny;

@property int button_id;

@property(nonatomic,retain) UIImage *imageNormal;
@property(nonatomic,retain) UIImage *imageDown;

@end